package com.graden.background.controller.sysuser.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * <p>
 * 用户角色修改VO类
 * </p>
 *
 * @author zjf
 * @since 2019-03-21
 */
@Data
@ApiModel
public class UserRoleUpdateVO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(name = "id", value = "id", example = "1")
    @NotNull(message = "USER_0004")
    private Integer id;

    @ApiModelProperty(name = "角色Ids", value = "name")
    @NotEmpty(message = "USER_0010")
    private Integer[] roleIds;


}
